<?php
namespace app\api\model;
use think\Model;
use think\Db;
class Wxuser extends Model
{
    public function findopenid($openid){
        $db = Db::name('wxuser')->where('openid',$openid)->find();
        return $db;
    }
}